
#include <QApplication>
#include "GameEditor.h"
#include "MainWindow.h"
#include "GamePluginManager.h"


int main(int argc, char *argv[])
{
    Q_INIT_RESOURCE(GameEditor);

    QApplication app(argc, argv);
    app.setOrganizationName("Roc Studio");
    app.setApplicationName(GAME_EDITOR_APP_NAME);

    GamePluginManager::instance().initialize();

    MainWindow window;
    window.show();

    int result = app.exec();
    GamePluginManager::instance().uninitialize();

    return result;
}
